package com.src.notebookofcy;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import cn.domob.android.ads.DomobSplashAd;
import com.baidu.mobstat.SendStrategyEnum;
import com.baidu.mobstat.StatService;

public class MainActivity extends Activity
{
  public Main main;
  DomobSplashAd splashAd;

  public void dataInit()
  {
    this.main = new Main(this);
  }

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    requestWindowFeature(1);
    setContentView(2130903040);
    dataInit();
    StatService.setSendLogStrategy(this, SendStrategyEnum.APP_START, 1, false);
  }

  public boolean onCreateOptionsMenu(Menu paramMenu)
  {
    paramMenu.add(0, 0, 0, "关于");
    return super.onCreateOptionsMenu(paramMenu);
  }

  public boolean onOptionsItemSelected(MenuItem paramMenuItem)
  {
    switch (paramMenuItem.getGroupId())
    {
    default:
    case 0:
    }
    while (true)
    {
      return super.onOptionsItemSelected(paramMenuItem);
      switch (paramMenuItem.getItemId())
      {
      default:
        break;
      case 0:
      }
      this.main.showDialog(2);
    }
  }

  protected void onPause()
  {
    super.onPause();
    StatService.onPause(this);
  }

  protected void onRestart()
  {
    super.onRestart();
    this.main.addData();
    SimpleClass.getSimpleClass().getMyBaseAdapter().notifyDataSetChanged();
  }

  protected void onResume()
  {
    super.onResume();
    StatService.onResume(this);
  }

  protected void onStart()
  {
    super.onStart();
  }
}

/* Location:           C:\Users\god\Desktop\liunianjishiben_V1.1_mumayi_3745b_dex2jar.jar
 * Qualified Name:     com.src.notebookofcy.MainActivity
 * JD-Core Version:    0.5.4
 */